package com.yidu.logisticssystem.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表(LogisticsUser)实体类
 *
 * @author makejava
 * @since 2021-03-09 16:21:10
 */
public class LogisticsUser implements Serializable {
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 用户名字
     */
    private String userCompellation;
    /**
     * 用户电话
     */
    private Double userPhone;
    /**
     * 用户生日
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date userBirthday;
    /**
     * 账号
     */
    private String userName;
    /**
     * 密码
     */
    private String userPassword;
    /**
     * 积分
     */
    private Double userIntegral;
    /**
     * 地区
     */
    private String mapId;
    /**
     * 邮政编码
     */
    private Double userMail;

    private String mapName;


    public String getMapId() {
        return mapId;
    }

    public void setMapId(String mapId) {
        this.mapId = mapId;
    }

    public String getMapName() {
        return mapName;
    }

    public void setMapName(String mapName) {
        this.mapName = mapName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserCompellation() {
        return userCompellation;
    }

    public void setUserCompellation(String userCompellation) {
        this.userCompellation = userCompellation;
    }

    public Double getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(Double userPhone) {
        this.userPhone = userPhone;
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Double getUserIntegral() {
        return userIntegral;
    }

    public void setUserIntegral(Double userIntegral) {
        this.userIntegral = userIntegral;
    }

    public Double getUserMail() {
        return userMail;
    }

    public void setUserMail(Double userMail) {
        this.userMail = userMail;
    }

}
